const query = require("../db/mysql")
const { success, error } = require("../module/module")

class Ranking {
    getRanl = async (ctx) => {
        let sql = 'select * from ranking where 1=1 '
        let data = await query(sql)
        ctx.body = success(data)
    }

}

module.exports = new Ranking()